<?php if (!defined('CANPHP')) exit;?><div class="dinbu clear-fix">
    <div class="max1000">
        <p class="dinbuleft">Welcome to Deligao Industrial (HK) Co.,Ltd</p>
        <ul class="dinburight">
            <li class="dinbutxt">
                <a  href="sitemap.html" title="">Site map</a><p>|</p><a  href="index.php/contact-us/" title="Onlin message">Onlin message</a>
            </li>
            <li>
                <a  href="http://facebook.com" title="" target="_blank"><img src="/<?php echo $config['TPL_TEMPLATE_PATH']; ?>images/aww01.jpg" alt=""  title="" /></a>
                <a  href="https://twitter.com/" title="" target="_blank"><img src="/<?php echo $config['TPL_TEMPLATE_PATH']; ?>images/aww02.jpg" alt=""  title="" /></a>
            </li>
        </ul>
    </div>
</div>
<div class="logo  clear-fix">
    <div class="logoo max1000";>
        <a  href="javascript:;" title="" class="lgomg"><img src="/<?php echo $config['TPL_TEMPLATE_PATH']; ?>images/logo.png" alt="<?php echo $common['title']; ?>"  title="<?php echo $common['title']; ?>" /></a>
        <p class="loxt">
            <img src="/<?php echo $config['TPL_TEMPLATE_PATH']; ?>images/mas1.png" alt=""  title="" />
            <img src="/<?php echo $config['TPL_TEMPLATE_PATH']; ?>images/mas2.png" alt=""  title="" />
        </p>
        <ul class="logoright">
            <li class="clear-fix">
                <img src="/<?php echo $config['TPL_TEMPLATE_PATH']; ?>images/dianhua.png" alt=""  title=""/>
                <p><?php echo $sys['company_phone']; ?></p>
            </li>
            <li class="clear-fix">
                <img src="/<?php echo $config['TPL_TEMPLATE_PATH']; ?>images/emal.png" alt=""  title=""/>
                <a  href="mailto:WX9413@126.COM" title=""><?php echo $sys['company_email']; ?></a>
            </li>
        </ul>
    </div>
</div>

<div class="daohan  clear-fix">
    <ul id="nav" class="nav max1000">
        <li class="nLi cznj">
            <p><a href="/" title="Home">Home</a></p>
        </li>
        <?php $list_top_categery=module("label")->getlist('table=\"category\" type=\"top\" order=\"cid asc\" limit=\"7\"'); $list_top_categery_i=0; if(is_array($list_top_categery)) foreach($list_top_categery as $list_top_categery){  $list_top_categery_i++; ?> <li class="nLi">
            <p><a href="<?php if(!empty($list_top_categery['url'])){ echo module('common')->return_tpl(html_out($list_top_categery['url'])); }else{ echo module('label')->get_curl($list_top_categery['cid']); } ?>" title="<?php echo $list_top_categery['name']; ?>"><?php echo $list_top_categery['name']; ?></a></p>
            <?php
                    $num = module('label')->get_count(array('where'=>'and pid='.$list_top_categery['cid'].' limit
            20'),array('table'=>'category'));
            if($num){
            ?>
            <ul class="sub">
                <?php $sublist=module("label")->getlist('table=\"category\" pid=\"'.$list_top_categery['cid'].'\" order=\"cid asc\" limit=\"10\"'); $sublist_i=0; if(is_array($sublist)) foreach($sublist as $sublist){  $sublist_i++; ?> <li><a href="<?php if(!empty($sublist['url'])){ echo module('common')->return_tpl(html_out($sublist['url'])); }else{ echo module('label')->get_curl($sublist['cid']); } ?>" title="<?php echo $sublist['name']; ?>"><?php echo $sublist['name']; ?></a></li>
                <?php }unset($sublist) ?>
            </ul>
            <?php }?>
        </li>
        <?php }unset($list_top_categery) ?>
    </ul>
</div>